using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class ImportTranslationRequest : OrganizationRequest
	{
		public byte[] TranslationFile
		{
			get
			{
				if (base.Parameters.Contains("TranslationFile"))
				{
					return (byte[])base.Parameters["TranslationFile"];
				}
				return null;
			}
			set
			{
				base.Parameters["TranslationFile"] = value;
			}
		}
		public Guid ImportJobId
		{
			get
			{
				if (base.Parameters.Contains("ImportJobId"))
				{
					return (Guid)base.Parameters["ImportJobId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["ImportJobId"] = value;
			}
		}
		public ImportTranslationRequest()
		{
			base.RequestName = "ImportTranslation";
			this.TranslationFile = null;
			this.ImportJobId = default(Guid);
		}
	}
}
